import { defHttp } from "/@/utils/http/axios"
import { Modal } from "ant-design-vue"
import { useGlobSetting } from "/@/hooks/setting"

export const savePasswordPolicy = (params) => {
  return defHttp.post({ url: "/iam-service/security/savePasswordPolicy", params })
}

export const validatePassword = (params) => {
  return defHttp.post({ url: "/iam-service/security/validatePassword", data: params }, { isTransformResponse: false })
}
